package com.group.activity.feign;

import com.group.common.to.SeckillOrderTo;
import com.group.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lins
 * @date 2021/11/17 13:48
 */
@FeignClient("admin")
public interface AdminFeignService {
    @RequestMapping("/admin/shopcommodity/lockStock")
    R lockStock(@RequestBody SeckillOrderTo to);
}
